/*=+--+=#=+--     Unmanned Aerial System Management Software      --+=#=+--+=#*\
|          Copyright (C) 2011 Regents of the University of Colorado.           |
|                             All Rights Reserved.                             |

     This program is free software: you can redistribute it and/or modify
     it under the terms of the GNU General Public License version 2 as
     published by the Free Software Foundation.

     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.

     You should have received a copy of the GNU General Public License
     along with this program.  If not, see <http://www.gnu.org/licenses/>.

            Jack Elston                       Cory Dixon                        
|           elstonj@colorado.edu              dixonc@colorado.edu              |
|                                                                              |
\*=+--+=#=+--                 --+=#=+--+=#=+--                    --+=#=+--+=#*/

/*!
  \file gpsPage.h
  \author Cory Dixon
*/

#ifndef __GPS_PAGE_H
#define __GPS_PAGE_H

#include "NodePages.h"

class GPSPage : public NodePage
{
	public:
		void update();
		bool create_page(Client *client, GtkBuilder *builder);

	protected:
		//--------------------PAGE VARIABLES--------------------//
	
		//-- display --//
		//   in this section, add the names of the widgets you designed
		//   in glade for the page you are creating
		
		GtkWidget *gps_lat;
		GtkWidget *gps_lon;
		GtkWidget *gps_heading;
		GtkWidget *gps_height;
		GtkWidget *gps_speed;
		GtkWidget *gps_pdop;
		GtkWidget *gps_sat;

		GtkWidget *use_gps;

		//-- input entry --//
		//  in this section, add any input boxes you gave to the user
		//  for input selection, can be buttons, text input, check boxes, ...

		//-- callbacks --//
		//  in this section, add any of the callbacks you need to handle
		//  user input. Note, more than likely these will need to be static functions.
		static void use_gps_clicked(GtkButton *widget, gpointer data); 
		//  Also, for the pointer we pass the WindowStruct pointer, which provides
		//  all the inormatio necessary to dray any/all pages
		
		void use_node_gps();
};

#endif
